package com.example.oasystem.service.impl;

import com.example.oasystem.dao.list.AoaSysMenuDao;
import com.example.oasystem.entity.list.AoaSysMenu;
import com.example.oasystem.service.AoaSysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AoaSysMenuServiceImpl implements AoaSysMenuService {
    @Autowired
    AoaSysMenuDao aoaSysMenuDao;

    @Override
    public List<AoaSysMenu> selectOneMenuAll(Long roleId) {
        return aoaSysMenuDao.selectOneMenuAll(roleId);
    }

    @Override
    public List<AoaSysMenu> selectTwoMenuAll(Long roleId) {
        return aoaSysMenuDao.selectTwoMenuAll(roleId);
    }
}
